﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace GdHotel.Data
{
    [MetadataType(typeof (NoteMetaData))]
    public partial class Note
    {
    }

    public class NoteMetaData
    {
        [AllowHtml]
        [DataType(DataType.MultilineText)]
        [Display(Name = "О нас")]
        public Object AboutUs { get; set; }

        [DataType(DataType.MultilineText)]
        [Display(Name = "Права")]
        public Object Copyright { get; set; }

        public Object Email { get; set; }
        
        [AllowHtml]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Слоган")]
        public Object Slogan { get; set; }

        [AllowHtml]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Мы свяжемся с Вами")]
        public Object WeWillContact { get; set; }

        [AllowHtml]
        [Display(Name = "Телефон")]
        public Object FirstPhone { get; set; }
        
        [AllowHtml]
        [Display(Name = "Телефон")]
        public Object SecondPhone { get; set; }

        [AllowHtml]
        [Display(Name = "Телефон")]
        public Object ThirdPhone { get; set; }

        [AllowHtml]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Полный адрес")]
        public Object AddressFull { get; set; }

        [AllowHtml]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Краткий адрес")]
        public Object AddressShort { get; set; }

        [AllowHtml]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Об оплате")]
        public Object PaymentsInfo { get; set; }
    }
}
